New Posts New Posts RSS Feed: I'm sick of the security feature
  FAQ FAQ  Forum Search   Calendar   Register Register  Login Login

I'm sick of the security feature

 Post Reply Post Reply
Author
monkeyking View Drop Down
Groupie
Groupie
Avatar

Joined: 04-Mar-2009
Location: brisbane
Posts: 68
Post Options Post Options   Quote monkeyking Quote  Post ReplyReply Direct Link To This Post Topic: I'm sick of the security feature
    Posted: 01-Apr-2009 at 7:48pm
I have put the security feature into our application, but it always come with perplexing errors, for example, my first application got such error regarding to the DomainModelEntityManager.


from the error above, it doesn't make sense, because i initialized '_manager' in the beginning by the 'DomainModelEntityManager.DefaultManager', it shouldn't have such error.

i rewirte whole security feature second time, every thing are the same, but it comes out different error regarding to 'LoginManager.cs' reference.


this error should because the config file doesn't list proper assembly names as once DomainModelEntityManager.Login once being code, the program will look through the app.config file to go through the list of assembly names to find out 'LoginManager' class. BUT i do list the aseembly names PROPERLY

you see, I put "Server" as assembly name in the end. this fold contains the login manager.



in that 'LoginManager.cs" file I declared 'LoginManager' class.

but once i rewrite the 3rd time of program, everyting runs properly which doesn't make sense to me.

so I decide to put security feature into our program, but once i did that, the second error comes out again, program couldn't find 'LoginManager' class which has been defined and properly listed in the app.config file. I really feel frustrated, because all the program are the same, but come out different errors and even runs once, which doesn't make sense to me.



Back to Top
monkeyking View Drop Down
Groupie
Groupie
Avatar

Joined: 04-Mar-2009
Location: brisbane
Posts: 68
Post Options Post Options   Quote monkeyking Quote  Post ReplyReply Direct Link To This Post Posted: 01-Apr-2009 at 7:54pm
i just post the content of LoginManager class to prove this class has no problem. it inherit from 'IEntityLoginManager' interface and implement the 'Login' method


Back to Top
monkeyking View Drop Down
Groupie
Groupie
Avatar

Joined: 04-Mar-2009
Location: brisbane
Posts: 68
Post Options Post Options   Quote monkeyking Quote  Post ReplyReply Direct Link To This Post Posted: 01-Apr-2009 at 9:28pm
well, I have found the reason of second error. I must import 'Server' in the client side, otherwise it will have the error of 'Login Manager is required but failed to find one'.

I think 'Server' folder must be in the Server side only, it shouldn't be imported in the client side. but how can I run the program without any bug is i don't import is in the clientside?
Back to Top
monkeyking View Drop Down
Groupie
Groupie
Avatar

Joined: 04-Mar-2009
Location: brisbane
Posts: 68
Post Options Post Options   Quote monkeyking Quote  Post ReplyReply Direct Link To This Post Posted: 02-Apr-2009 at 4:03pm
another bug, i can't understand why LoginCredential object doesn't work.

Back to Top
monkeyking View Drop Down
Groupie
Groupie
Avatar

Joined: 04-Mar-2009
Location: brisbane
Posts: 68
Post Options Post Options   Quote monkeyking Quote  Post ReplyReply Direct Link To This Post Posted: 04-Apr-2009 at 12:03am
I have fixed this one, i must assign LoginClientCore instance, LoginCredential instance and DomainModelEntityManager instance in the server side. then this bug will disappear, it doesn't make sense to me, but it works.
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down