com.ibm.wsspi.security.context

Class Domain

  • java.lang.Object
    • com.ibm.wsspi.security.context.Domain
  • All Implemented Interfaces:
    java.io.Serializable


    public class Domain
    extends java.lang.Object
    implements java.io.Serializable
    An abstraction of the security domain obtained from the thread of execution.

    In the AdminAgent the domain is the profile id string.

    In non-AdminAgent servers the domain consists of two strings - an application name and an application type.

    Version:
    v7.0
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor and Description
      Domain() 
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      java.lang.String getApplicationName()
      Get the application name
      java.lang.String getApplicationType()
      Get the application type
      java.lang.String getProfileId()
      Get the AdminAgent profile id for this domain context.
      void setApplication(java.lang.String name, java.lang.String type)
      Set the application name and type The app name and type will determine the security configuration to use
      void setApplicationName(java.lang.String name)
      Set the application name The app name and type will determine the security configuration to use
      void setApplicationType(java.lang.String type)
      Set the application type The app name and type will determine the security configuration to use
      void setProfileId(java.lang.String profileId)
      Set an AdminAgent profile id In the AdminAgent the profile id determines which profile's config to use
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Domain

        public Domain()
    • Method Detail

      • setApplication

        public void setApplication(java.lang.String name,
                          java.lang.String type)
        Set the application name and type

        The app name and type will determine the security configuration to use

        Parameters:
        name - the application name
        type - the application type
      • setApplicationName

        public void setApplicationName(java.lang.String name)
        Set the application name

        The app name and type will determine the security configuration to use

        Parameters:
        name - the application name
      • setApplicationType

        public void setApplicationType(java.lang.String type)
        Set the application type

        The app name and type will determine the security configuration to use

        Parameters:
        type - the application type
      • setProfileId

        public void setProfileId(java.lang.String profileId)
        Set an AdminAgent profile id

        In the AdminAgent the profile id determines which profile's config to use

        Parameters:
        profileId - the profile id
      • getApplicationName

        public java.lang.String getApplicationName()
        Get the application name
        Returns:
        the application name
      • getApplicationType

        public java.lang.String getApplicationType()
        Get the application type
        Returns:
        the application type
      • getProfileId

        public java.lang.String getProfileId()
        Get the AdminAgent profile id for this domain context.

        If this context is not an AdminAgent context returns null.

        Returns:
        the application type
IBM WebSphere Application ServerTM
Release 8.5