|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Authentication
Defines v2.1 of the Moria2 SOAP interface.
Method Summary | |
---|---|
Attribute[] |
directNonInteractiveAuthentication(java.lang.String[] attributes,
java.lang.String username,
java.lang.String password)
Performs direct non-interactive authentication. |
java.lang.String |
getProxyTicket(java.lang.String ticketGrantingTicket,
java.lang.String proxyServicePrincipal)
Gets a proxy ticket. |
Attribute[] |
getUserAttributes(java.lang.String serviceTicket)
Gets user attributes. |
java.lang.String |
initiateAuthentication(java.lang.String[] attributes,
java.lang.String returnURLPrefix,
java.lang.String returnURLPostfix,
boolean forceInteractiveAuthentication)
Initiates authentication. |
Attribute[] |
proxyAuthentication(java.lang.String[] attributes,
java.lang.String proxyTicket)
Performs proxy authentication. |
boolean |
verifyUserExistence(java.lang.String username)
Verifies the existence of a given user in the underlying directories. |
Method Detail |
---|
java.lang.String initiateAuthentication(java.lang.String[] attributes, java.lang.String returnURLPrefix, java.lang.String returnURLPostfix, boolean forceInteractiveAuthentication) throws AuthorizationFailedException, IllegalInputException, InternalException
attributes
- The attributes the service wants returned on login.returnURLPrefix
- The prefix of the URL the user is to be returned to after
successful authentication.returnURLPostfix
- The optional postfix of the return URL.forceInteractiveAuthentication
- If true
, user is forced through authentication
even if SSO is possible.
AuthorizationFailedException
- If the service is now allowed to perform this operation, or
if the service is not allowed to read one or more of the
requested attributes.
IllegalInputException
- If the method is called with illegal parameters, such as a
returnURLPrefix
/
returnURLPostfix
combination that does not
yield a valid URL.
InternalException
- If an internal problem prevents Moria2 from performing this
operation.Attribute[] directNonInteractiveAuthentication(java.lang.String[] attributes, java.lang.String username, java.lang.String password) throws AuthorizationFailedException, AuthenticationFailedException, AuthenticationUnavailableException, IllegalInputException, InternalException
attributes
- The attributes the service wants returned following
authentication.username
- The user name of the user to be authenticated.password
- The password of the user to be authenticated.
AuthorizationFailedException
- If the service is now allowed to perform this operation, or
if the service is not allowed to read one or more of the
requested attributes.
AuthenticationFailedException
- If the user credentials (given by username
/
password
) are not valid.
AuthenticationUnavailableException
- If the third-party authentication server responsible for
authenticating this user is not available.
IllegalInputException
- If the method is called with illegal parameters.
InternalException
- If an internal problem prevents Moria2 from performing this
operation.Attribute[] proxyAuthentication(java.lang.String[] attributes, java.lang.String proxyTicket) throws AuthorizationFailedException, IllegalInputException, InternalException, UnknownTicketException
attributes
- The attributes the service wants returned following proxy
authentication.proxyTicket
- The proxy ticket given to the calling system by its initiator.
AuthorizationFailedException
- If the service is now allowed to perform this operation, or
if the service is not allowed to read one or more of the
requested attributes.
IllegalInputException
- If the method is called with illegal parameters.
InternalException
- If an internal problem prevents Moria2 from performing this
operation.
UnknownTicketException
- If the proxy ticket given by proxyTicket
does
not match an existing and valid session.java.lang.String getProxyTicket(java.lang.String ticketGrantingTicket, java.lang.String proxyServicePrincipal) throws AuthorizationFailedException, IllegalInputException, InternalException, UnknownTicketException
ticketGrantingTicket
- A TGT that has been issued previously.proxyServicePrincipal
- The service which the proxy ticket should be issued for.
AuthorizationFailedException
- If the service is now allowed to perform this operation.
IllegalInputException
- If the method is called with illegal parameters.
InternalException
- If an internal problem prevents Moria2 from performing this
operation.
UnknownTicketException
- If the ticket granting ticket given by
ticketGrantingTicket
does not match an
existing and valid session.Attribute[] getUserAttributes(java.lang.String serviceTicket) throws AuthorizationFailedException, IllegalInputException, InternalException, UnknownTicketException
serviceTicket
- The ticket included in the return request issued by the
client.
AuthorizationFailedException
- If the service is now allowed to perform this operation.
IllegalInputException
- If the method is called with an illegal parameter.
InternalException
- If an internal problem prevents Moria2 from performing this
operation.
UnknownTicketException
- If the service ticket given by serviceTicket
does not match an existing or valid session.boolean verifyUserExistence(java.lang.String username) throws AuthorizationFailedException, AuthenticationUnavailableException, IllegalInputException, InternalException
username
- The username to be validated.
true
if the user is found, otherwise
false
.
AuthorizationFailedException
- If the service is now allowed to perform this operation.
AuthenticationUnavailableException
- If the authentication server where this user belongs is not
available.
IllegalInputException
- If the method is called with an illegal parameter.
InternalException
- If an internal problem prevents Moria2 from performing this
operation.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |