org.jboss.mq.security
Class SessionIDGenerator

java.lang.Object
  extended by org.jboss.mq.security.SessionIDGenerator

public class SessionIDGenerator
extends Object

Generator of session id for ConnecttionToken. There should be nonguessabe and none repeting as long as the server is alive. This could by all mean be made much more secure!

Version:
$Revision: 57198 $
Author:
Peter Antman, Hiram Chirino

Constructor Summary
SessionIDGenerator()
           
 
Method Summary
static void main(String[] args)
           
 String nextSessionId()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SessionIDGenerator

public SessionIDGenerator()
Method Detail

nextSessionId

public String nextSessionId()
                     throws NoSuchAlgorithmException
Throws:
NoSuchAlgorithmException

main

public static void main(String[] args)
                 throws Exception
Throws:
Exception


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.