org.n52.security.common.protocol
Interface AuthenticationService


public interface AuthenticationService


Method Summary
 void closeSession(java.lang.String version, java.lang.String sessionID)
          Corresponds to the CloseSession request of the Web Authentication Service specification.
 AuthenticationServiceCapabilities getCapabilities(java.lang.String version, java.lang.String service)
          Corresponds to the GetCapabilities request of the Web Authentication Service Specification.
 SAMLResponse getSAMLResponse(java.lang.String version, Credential credential)
          Corresponds to the GetSAMLResponse request of the Web Authentication Service specification.
 SessionInfo getSession(java.lang.String version, Credential credential)
          Corresponds to the GetSession request of the Web Authentication Service specification.
 

Method Detail

getCapabilities

public AuthenticationServiceCapabilities getCapabilities(java.lang.String version,
                                                         java.lang.String service)
                                                  throws ServiceException
Corresponds to the GetCapabilities request of the Web Authentication Service Specification. Please refer to the specification to to get more information about allowed parameter values for example.

Returns:
Throws:
ServiceException

closeSession

public void closeSession(java.lang.String version,
                         java.lang.String sessionID)
                  throws ServiceException
Corresponds to the CloseSession request of the Web Authentication Service specification. Please refer to the specification to get more information about allowed parameter values for example.

Throws:
ServiceException

getSession

public SessionInfo getSession(java.lang.String version,
                              Credential credential)
                       throws ServiceException
Corresponds to the GetSession request of the Web Authentication Service specification. Please refer to the specification to to get more information about allowed parameter values for example.

Returns:
Throws:
ServiceException

getSAMLResponse

public SAMLResponse getSAMLResponse(java.lang.String version,
                                    Credential credential)
                             throws ServiceException
Corresponds to the GetSAMLResponse request of the Web Authentication Service specification. Please refer to the specification to get more information about allowed parameter values for example.

Returns:
Throws:
ServiceException


Copyright © 2004-2007 52 North. All Rights Reserved.