org.glite.security.authz
Class AuthzUtil

java.lang.Object
  extended byorg.glite.security.authz.AuthzUtil

public final class AuthzUtil
extends java.lang.Object

Utility class with miscellaneous authorizaion utilities.


Method Summary
static java.lang.String getIdentity(javax.security.auth.Subject subject)
          gets the identity from the specified subject.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getIdentity

public static java.lang.String getIdentity(javax.security.auth.Subject subject)
gets the identity from the specified subject.

Parameters:
subject - subject to get the subject dn from
Returns:
subject dn of first contained principal or null if none was found