ca.bc.gov.webade.user
Class WebADEUserUtils

java.lang.Object
  extended byca.bc.gov.webade.user.WebADEUserUtils

public class WebADEUserUtils
extends java.lang.Object

Author:
jross

Constructor Summary
WebADEUserUtils()
           
 
Method Summary
static WebADEUserPermissions mergeWebADEUserPermissions(WebADEUserPermissions[] auths)
          Merges the array of given authorizations into a single instance.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WebADEUserUtils

public WebADEUserUtils()
Method Detail

mergeWebADEUserPermissions

public static final WebADEUserPermissions mergeWebADEUserPermissions(WebADEUserPermissions[] auths)
                                                              throws WebADEException
Merges the array of given authorizations into a single instance.

Parameters:
auths - The set of authorization objects to merge.
Returns:
The merged authorizations object.
Throws:
WebADEException - Thrown if the given permissions belong to multiple users.