public class ExternalAuthToken extends java.lang.Object implements IAuthToken
| Modifier and Type | Field and Description |
|---|---|
protected org.apache.catalina.realm.GenericPrincipal |
principal |
GROUP, GROUPS, TOKEN_AUTHENTICATED_CERT_SUBJECT, TOKEN_AUTHMGR_INST_NAME, TOKEN_AUTHTIME, TOKEN_CERT, TOKEN_CERT_EXTENSIONS, TOKEN_CERT_NOTAFTER, TOKEN_CERT_NOTBEFORE, TOKEN_CERT_SERIALNUM, TOKEN_CERT_SUBJECT, TOKEN_CERT_TO_REVOKE, TOKEN_SHARED_TOKEN_AUTHENTICATED_CERT_SUBJECT, UID, USER, USER_DN, USER_ID| Constructor and Description |
|---|
ExternalAuthToken(org.apache.catalina.realm.GenericPrincipal principal) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
get(java.lang.String k)
Gets an attribute value.
|
java.util.Enumeration<java.lang.String> |
getElements()
Returns an enumeration of the names of the attributes existing within
this AttrSet.
|
java.math.BigInteger[] |
getInBigIntegerArray(java.lang.String k)
Retrieves the BigInteger array value for name.
|
byte[] |
getInByteArray(java.lang.String k)
Retrieves the byte array value for name.
|
byte[][] |
getInByteArrayArray(java.lang.String k)
Retrieves the byte[][] value for name.
|
org.mozilla.jss.netscape.security.x509.X509CertImpl |
getInCert(java.lang.String k)
Retrieves the X509CertImpl value for name.
|
org.mozilla.jss.netscape.security.x509.CertificateExtensions |
getInCertExts(java.lang.String k)
Retrieves the CertificateExtensions value for name.
|
Certificates |
getInCertificates(java.lang.String k)
Retrieves the Certificates value for name.
|
java.util.Date |
getInDate(java.lang.String k)
Retrieves the Date value for name.
|
java.lang.Integer |
getInInteger(java.lang.String k)
Retrieves the Integer value for name.
|
java.lang.String |
getInString(java.lang.String k)
Gets an attribute value.
|
java.lang.String[] |
getInStringArray(java.lang.String k)
Retrieves the String array value for name.
|
java.security.Principal |
getPrincipal() |
boolean |
set(java.lang.String k,
java.math.BigInteger[] v)
Stores the BigInteger array with the associated key.
|
boolean |
set(java.lang.String k,
byte[] v)
Stores the byte array with the associated key.
|
boolean |
set(java.lang.String k,
byte[][] v)
Stores the byte[][] with the associated key.
|
boolean |
set(java.lang.String k,
org.mozilla.jss.netscape.security.x509.CertificateExtensions v)
Stores the CertificateExtensions with the associated key.
|
boolean |
set(java.lang.String k,
Certificates v)
Stores the Certificates with the associated key.
|
boolean |
set(java.lang.String k,
java.util.Date v)
Stores the Date with the associated key.
|
boolean |
set(java.lang.String k,
java.lang.Integer v)
Stores the Integer with the associated key.
|
boolean |
set(java.lang.String k,
java.lang.String v)
Sets an attribute value within this AttrSet.
|
boolean |
set(java.lang.String k,
java.lang.String[] v)
Stores the String array with the associated key.
|
boolean |
set(java.lang.String k,
org.mozilla.jss.netscape.security.x509.X509CertImpl v)
Stores the X509CertImpl with the associated key.
|
public ExternalAuthToken(org.apache.catalina.realm.GenericPrincipal principal)
public java.security.Principal getPrincipal()
public java.util.Enumeration<java.lang.String> getElements()
IAuthTokengetElements in interface IAuthTokenpublic java.lang.Object get(java.lang.String k)
IAuthTokenget in interface IAuthTokenk - the name of the attribute to return.public boolean set(java.lang.String k,
java.lang.String v)
IAuthTokenset in interface IAuthTokenk - the name of the attributev - the attribute object.public java.lang.String getInString(java.lang.String k)
IAuthTokengetInString in interface IAuthTokenk - the name of the attribute to return.public boolean set(java.lang.String k,
byte[] v)
IAuthTokenset in interface IAuthTokenk - The attribute name.v - The value to storepublic byte[] getInByteArray(java.lang.String k)
IAuthTokengetInByteArray in interface IAuthTokenk - The attribute name.public boolean set(java.lang.String k,
java.lang.Integer v)
IAuthTokenset in interface IAuthTokenk - The attribute name.v - The value to storepublic java.lang.Integer getInInteger(java.lang.String k)
IAuthTokengetInInteger in interface IAuthTokenk - The attribute name.public boolean set(java.lang.String k,
java.math.BigInteger[] v)
IAuthTokenset in interface IAuthTokenk - The attribute name.v - The value to storepublic java.math.BigInteger[] getInBigIntegerArray(java.lang.String k)
IAuthTokengetInBigIntegerArray in interface IAuthTokenk - The attribute name.public boolean set(java.lang.String k,
java.util.Date v)
IAuthTokenset in interface IAuthTokenk - The attribute name.v - The value to storepublic java.util.Date getInDate(java.lang.String k)
IAuthTokengetInDate in interface IAuthTokenk - The attribute name.public boolean set(java.lang.String k,
java.lang.String[] v)
IAuthTokenset in interface IAuthTokenk - The attribute name.v - The value to storepublic java.lang.String[] getInStringArray(java.lang.String k)
IAuthTokengetInStringArray in interface IAuthTokenk - The attribute name.public boolean set(java.lang.String k,
org.mozilla.jss.netscape.security.x509.X509CertImpl v)
IAuthTokenset in interface IAuthTokenk - The attribute name.v - The value to storepublic org.mozilla.jss.netscape.security.x509.X509CertImpl getInCert(java.lang.String k)
IAuthTokengetInCert in interface IAuthTokenk - The attribute name.public boolean set(java.lang.String k,
org.mozilla.jss.netscape.security.x509.CertificateExtensions v)
IAuthTokenset in interface IAuthTokenk - The attribute name.v - The value to storepublic org.mozilla.jss.netscape.security.x509.CertificateExtensions getInCertExts(java.lang.String k)
IAuthTokengetInCertExts in interface IAuthTokenk - The attribute name.public boolean set(java.lang.String k,
Certificates v)
IAuthTokenset in interface IAuthTokenk - The attribute name.v - The value to storepublic Certificates getInCertificates(java.lang.String k)
IAuthTokengetInCertificates in interface IAuthTokenk - The attribute name.public boolean set(java.lang.String k,
byte[][] v)
IAuthTokenset in interface IAuthTokenk - The attribute name.v - The value to storepublic byte[][] getInByteArrayArray(java.lang.String k)
IAuthTokengetInByteArrayArray in interface IAuthTokenk - The attribute name.