org.ogf.graap.wsag.client.wsrf.security
Class SecurityUtils

java.lang.Object
  extended by org.ogf.graap.wsag.client.wsrf.security.SecurityUtils

public class SecurityUtils
extends Object

SecurityUtils

Author:
Oliver Waeldrich

Constructor Summary
SecurityUtils()
           
 
Method Summary
static org.apache.ws.security.components.crypto.Crypto getCryptoFromLoginContext(LoginContext context)
          Retrieves a Crypto from a JAAS LoginContext.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SecurityUtils

public SecurityUtils()
Method Detail

getCryptoFromLoginContext

public static org.apache.ws.security.components.crypto.Crypto getCryptoFromLoginContext(LoginContext context)
Retrieves a Crypto from a JAAS LoginContext. The crypto is created and populated by the WSAG4J KeystoreLoginModule.

Parameters:
context - the login context
Returns:
the crypto


Copyright © 2008-2012. All Rights Reserved.