001    /*
002    * file CcRolemapEntry.java
003    *
004    * Licensed Materials - Property of IBM
005    * Restricted Materials of IBM
006    * 
007    * com.ibm.rational.wvcm.stp.cc.CcRolemapEntry
008    *
009    * (C) Copyright IBM Corporation 2012.  All Rights Reserved. 
010    * Note to U.S. Government Users Restricted Rights:  Use, duplication or  
011    * disclosure restricted by GSA ADP  Schedule Contract with IBM Corp. 
012    */
013    package com.ibm.rational.wvcm.stp.cc;
014    
015    import com.ibm.rational.wvcm.stp.cc.CcAccessControlEntry.PrincipalKind;
016    
017    /**
018     * <p>
019     * An rolemap entry provides a binding between a policy role and a principal
020     * as part of the definition of a rolemap.
021     * <p>
022     * This interface provides an aggregate object for handling such an entry.
023     * </p>
024     */
025    public interface CcRolemapEntry {
026        
027        /**
028         * Get the kind of principal for the identity.
029         */
030        public PrincipalKind getPrincipalKind();
031        
032        /**
033         * Get the principal name for the entry.  Includes domain name when applicable
034         */
035        public String getPrincipalName();
036        
037        /**
038         * Get the role name for this entry.
039         */
040        public String getRole();
041    
042    }