org.ogf.graap.wsag.client.wsrf.security
Class SecurityUtils
java.lang.Object
org.ogf.graap.wsag.client.wsrf.security.SecurityUtils
public class SecurityUtils
- extends Object
SecurityUtils
- Author:
- Oliver Waeldrich
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SecurityUtils
public SecurityUtils()
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.