javax.security.auth.message.callback
Class SecretKeyCallback

java.lang.Object
  extended by javax.security.auth.message.callback.SecretKeyCallback
All Implemented Interfaces:
Callback

public class SecretKeyCallback
extends Object
implements Callback

A callback enabling an authentication module to request a secret key from the runtime, by supplying an alias. Other request types may also be supported.

Version:
$Rev: 768352 $ $Date: 2009-04-24 09:26:01 -0700 (Fri, 24 Apr 2009) $

Nested Class Summary
static class SecretKeyCallback.AliasRequest
           
static interface SecretKeyCallback.Request
           
 
Constructor Summary
SecretKeyCallback(SecretKeyCallback.Request request)
           
 
Method Summary
 SecretKey getKey()
           
 SecretKeyCallback.Request getRequest()
           
 void setKey(SecretKey key)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SecretKeyCallback

public SecretKeyCallback(SecretKeyCallback.Request request)
Method Detail

getRequest

public SecretKeyCallback.Request getRequest()

getKey

public SecretKey getKey()

setKey

public void setKey(SecretKey key)


Copyright © 2003-2009 The Apache Software Foundation. All Rights Reserved.