站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss 3.2.7 messaging API Documentation 英文版文档

SessionIDGenerator (JBoss Messaging API) - JBoss 3.2.7 messaging API Documentation 英文版文档


org.jboss.mq.security
Class SessionIDGenerator

java.lang.Object
  extended byorg.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: 1.1 $
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.