|
![]() |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.openexchange.admin.rmi.impl.OXCommonImpl
com.openexchange.admin.rmi.impl.BasicAuthenticator
public class BasicAuthenticator
Constructor Summary | |
---|---|
BasicAuthenticator()
|
|
BasicAuthenticator(BundleContext context)
Use this constructor when additional bundles should be able to override login |
Method Summary | |
---|---|
void |
doAuthentication(Credentials authdata)
Authenticates the master admin. |
void |
doAuthentication(Credentials authdata,
Context ctx)
Authenticates ONLY the context admin! This method also validates the Context object data! |
void |
doUserAuthentication(Credentials authdata,
Context ctx)
Authenticates all users within a context! This method also validates the Context object data! |
void |
removeFromAuthCache(Context ctx)
Remove cached admin authdata from auth cache |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BasicAuthenticator(BundleContext context) throws StorageException
StorageException
public BasicAuthenticator() throws StorageException
StorageException
Method Detail |
---|
public void doAuthentication(Credentials authdata) throws InvalidCredentialsException
authdata
-
InvalidCredentialsException
public void removeFromAuthCache(Context ctx)
ctx
- public void doAuthentication(Credentials authdata, Context ctx) throws InvalidCredentialsException, StorageException, InvalidDataException
authdata
- ctx
-
InvalidCredentialsException
StorageException
InvalidDataException
public void doUserAuthentication(Credentials authdata, Context ctx) throws InvalidCredentialsException, StorageException, InvalidDataException
authdata
- ctx
-
InvalidCredentialsException
StorageException
InvalidDataException
|
![]() |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |