|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Method Summary | |
Credentials |
get_credentials(CredentialType cred_type)
Gets credentials type. |
PrincipalAuthenticator |
principal_authenticator()
Returns the PrincipalAuthenticator object. |
void |
set_credentials(CredentialType cred_type,
Credentials cred)
Sets credentials type. |
Methods inherited from interface org.omg.SecurityLevel1.Current |
get_attributes |
Method Detail |
public void set_credentials(CredentialType cred_type, Credentials cred)
This method can be used only to set SecInvocationCredentials; otherwise, the set_credentials method raises the org.omg.CORBA.BAD_PARAM exception. The credentials must have been obtained from a previous invocation of the SecurityLevel2.Current.get_credentials or SecurityLevel2.PrincipalAuthenticator.authenticate methods.
public Credentials get_credentials(CredentialType cred_type)
This method can be used only to get SecInvocationCredentials; otherwise, the get_credentials method raises the org.omg.CORBA.BAD_PARAM exception. If no credentials are available, the get_credentials method raises the org.omg.CORBA.BAD_INV_ORDER exception.
public PrincipalAuthenticator principal_authenticator()
The PrincipalAuthenticator object returned by the principal_authenticator attribute is of actual type Tobj.PrincipalAuthenticator. Therefore, it can be used both as a Tobj.PrincipalAuthenticator and as a SecurityLevel2.PrincipalAuthenticator.
Note: This method raises the org.omg.CORBA.BAD_INV_ORDER exception if it is invoked on an invalid SecurityCurrent object.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |