org.jboss.mq.security
Class SessionIDGenerator
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SessionIDGenerator
public SessionIDGenerator()
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.