JBoss Java Authentication SPI for Containers 1.0 API 1.0.0.Final

javax.security.auth.message.callback
Class PrivateKeyCallback.AliasRequest

java.lang.Object
  extended by javax.security.auth.message.callback.PrivateKeyCallback.AliasRequest
All Implemented Interfaces:
PrivateKeyCallback.Request
Enclosing class:
PrivateKeyCallback

public static class PrivateKeyCallback.AliasRequest
extends Object
implements PrivateKeyCallback.Request

Request type for private keys that are identified via an alias.


Constructor Summary
PrivateKeyCallback.AliasRequest(String alias)
          Construct an AliasRequest with an alias.
 
Method Summary
 String getAlias()
          Get the alias.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PrivateKeyCallback.AliasRequest

public PrivateKeyCallback.AliasRequest(String alias)

Construct an AliasRequest with an alias.

The alias is used to directly identify the private key to be returned. The corresponding certificate chain for the private key is also returned.

If the alias is null, the handler of the callback relies on its own default.

Parameters:
alias - name identifier for the private key, or null.
Method Detail

getAlias

public String getAlias()
Get the alias.

Returns:
the alias, or null.

JBoss Java Authentication SPI for Containers 1.0 API 1.0.0.Final

Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.