org.glite.security
Interface SecurityInfo

All Known Implementing Classes:
SecurityContext

public interface SecurityInfo

An interface from which an external application can get information from underlying authentication and authorization processes.

Author:
mulmo
See Also:
SecurityInfoContainer

Method Summary
 java.lang.String getAuthorizationPolicy()
          Deprecated. This method is deprecated and you should use the classes found in org.glite.voms from glite-security-voms-api-java instead.
 java.util.List getAuthorizedAttributes()
          Deprecated. This method is deprecated and you should use the classes found in org.glite.voms from glite-security-voms-api-java instead.
 java.security.cert.X509Certificate getClientCert()
           
 java.security.cert.X509Certificate[] getClientCertChain()
           
 java.lang.String getClientName()
          Returns the name of the authenticated client.
 java.lang.String getClientX500Name()
          Returns the name of the authenticated client in X500 format.
 X500Principal getClientX500Principal()
          Returns the Principal of the authenticated client in X500 format.
 java.lang.String getIssuerName()
          Returns the Issuer Distuingished Name of the client certificate.
 java.lang.String getRemoteAddr()
          Returns the IP address of the other party.
 java.util.List getRequestedAttributes()
          Deprecated. This method is deprecated and you should use the classes found in org.glite.voms from glite-security-voms-api-java instead.
 java.lang.String getSessionId()
          Returns the SSL session ID used for this connection.
 

Method Detail

getAuthorizationPolicy

java.lang.String getAuthorizationPolicy()
Deprecated. This method is deprecated and you should use the classes found in org.glite.voms from glite-security-voms-api-java instead.

Returns:
String The name of the policy used in the authorization process

getAuthorizedAttributes

java.util.List getAuthorizedAttributes()
Deprecated. This method is deprecated and you should use the classes found in org.glite.voms from glite-security-voms-api-java instead.

Returns:
List of String (the approved authorization attributes)
See Also:
getRequestedAttributes()

getRequestedAttributes

java.util.List getRequestedAttributes()
Deprecated. This method is deprecated and you should use the classes found in org.glite.voms from glite-security-voms-api-java instead.

Returns:
List of String (the requested authorization attributes)
See Also:
getAuthorizedAttributes()

getClientCert

java.security.cert.X509Certificate getClientCert()
Returns:
X509Certificate The identity certificate of the authenticated client

getClientCertChain

java.security.cert.X509Certificate[] getClientCertChain()
Returns:
X509Certificate[] The client's certificate chain

getClientName

java.lang.String getClientName()
Returns the name of the authenticated client. Typically, this is the Subject Distuingished Name of the client certificate.

Returns:
String The name of the authenticated client.

getClientX500Name

java.lang.String getClientX500Name()
Returns the name of the authenticated client in X500 format. Typically, this is the Subject Distuingished Name of the client certificate.

Returns:
String The name of the authenticated client.

getClientX500Principal

X500Principal getClientX500Principal()
Returns the Principal of the authenticated client in X500 format. Typically, this is the Subject Distuingished Name of the client certificate.

Returns:
X500Principal The Principal of the authenticated client.

getIssuerName

java.lang.String getIssuerName()
Returns the Issuer Distuingished Name of the client certificate.


getRemoteAddr

java.lang.String getRemoteAddr()
Returns the IP address of the other party.


getSessionId

java.lang.String getSessionId()
Returns the SSL session ID used for this connection.