eu.emi.security.authn.x509.helpers.ns
Interface NamespacePolicy

All Known Implementing Classes:
OpensslNamespacePolicyImpl

public interface NamespacePolicy

Represents a namespace policy, i.e. defines which subject DNs are permitted or denied for an issuer.

Author:
K. Benedyczak

Method Summary
 String getIdentification()
           
 String getIssuer()
           
 boolean isPermit()
           
 boolean isSubjectMatching(X500Principal subject)
          Checks whether the given subject name is matching this policy.
 

Method Detail

getIssuer

String getIssuer()
Returns:
the issuer

isPermit

boolean isPermit()
Returns:
whether the policy is permit or deny

getIdentification

String getIdentification()
Returns:
the identification

isSubjectMatching

boolean isSubjectMatching(X500Principal subject)
Checks whether the given subject name is matching this policy.

Parameters:
subject - to be checked
Returns:
true if subject is matched, false otherwise


Copyright © 2012-2013 European Middleware Initiative. All Rights Reserved.