org.edg.security.info
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()
           
 java.util.List getAuthorizedAttributes()
           
 java.security.cert.X509Certificate getClientCert()
           
 java.security.cert.X509Certificate[] getClientCertChain()
           
 java.lang.String getClientName()
          Returns the name of the authenticated client.
 java.lang.String getIssuerName()
          Returns the Issuer Distuingished Name of the client certificate.
 java.util.List getRequestedAttributes()
           
 VOMSExtension getVOMSExtension()
           
 

Method Detail

getAuthorizationPolicy

public java.lang.String getAuthorizationPolicy()
Returns:
String The name of the policy used in the authorization process

getAuthorizedAttributes

public java.util.List getAuthorizedAttributes()
Returns:
List of String (the approved authorization attributes)
See Also:
getRequestedAttributes()

getRequestedAttributes

public java.util.List getRequestedAttributes()
Returns:
List of String (the requested authorization attributes)
See Also:
getAuthorizedAttributes()

getClientCert

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

getClientCertChain

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

getClientName

public 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.

getIssuerName

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


getVOMSExtension

public VOMSExtension getVOMSExtension()
Returns:
VOMSExtension a VOMS extension associated with the client
See Also:
VOMSExtension