Top Description Methods
org.apache.catalina.realm

public Interface X509UsernameRetriever

Known Direct Implementers
org.apache.catalina.realm.X509SubjectDnRetriever
Imports
java.security.cert.X509Certificate

Provides an interface for retrieving a user name from an X509Certificate.

Method Summary

Modifier and TypeMethod and Description
public String

Returns:

An appropriate user name obtained from one or more fields in the certificate.
getUsername
(X509Certificate
The certificate containing the user name.
cert
)

Gets a user name from an X509Certificate.

Method Detail

getUsernameback to summary
public String getUsername(X509Certificate cert)

Gets a user name from an X509Certificate.

Parameters
cert:X509Certificate

The certificate containing the user name.

Returns:String

An appropriate user name obtained from one or more fields in the certificate.