JBoss Test 1.2.0.Final

org.jboss.test.util
Class ByteArrayCallback

java.lang.Object
  extended by org.jboss.test.util.ByteArrayCallback
All Implemented Interfaces:
Callback

public class ByteArrayCallback
extends Object
implements Callback

An implementation of Callback that obtains a binary parameter as a byte[]. Interpretation of the array is up to the LoginModule.

Version:
$Revision: 56504 $
Author:
Scott.Stark@jboss.org

Constructor Summary
ByteArrayCallback(String prompt)
          Initialize the SecurityAssociationCallback
 
Method Summary
 void clearByteArray()
           
 byte[] getByteArray()
           
 String getPrompt()
           
 void setByteArray(byte[] data)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ByteArrayCallback

public ByteArrayCallback(String prompt)
Initialize the SecurityAssociationCallback

Parameters:
prompt - the prompt
Method Detail

getPrompt

public String getPrompt()

getByteArray

public byte[] getByteArray()

setByteArray

public void setByteArray(byte[] data)

clearByteArray

public void clearByteArray()

JBoss Test 1.2.0.Final

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