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

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

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

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


Constructor Summary
SecretKeyCallback.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

SecretKeyCallback.AliasRequest

public SecretKeyCallback.AliasRequest(String alias)

Construct an AliasRequest with an alias.

The alias is used to directly identify the secret key to be returned.

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

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

getAlias

public String getAlias()
Get the alias.

Returns:
the alias, or null.


Copyright © 2008 JBoss Inc.. All Rights Reserved.